package de.dnb.gnd.utils;

import de.dnb.basics.applicationComponents.RangeCheckUtils;
import de.dnb.basics.filtering.IPredicate;
import de.dnb.gnd.parser.Subfield;
import de.dnb.gnd.parser.tag.TagDB;

public class ExpansionFilter implements IPredicate<Subfield> {

	@Override
	public final boolean accept(final Subfield subfield) {
		RangeCheckUtils.assertReferenceParamNotNull("subfield", subfield);
		return !(subfield.getIndicator() == TagDB.DOLLAR_8);
	}

}
